package com.yupi.project.service;

import com.yupi.project.model.dto.question.QuestionAddRequest;
import com.yupi.project.model.dto.question.QuestionUpdateRequest;
import com.yupi.project.model.entity.Question;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author Lenovo
* @description 针对表【question(问题表)】的数据库操作Service
* @createDate 2023-07-12 11:17:00
*/
public interface QuestionService extends IService<Question> {


    /**
     * 保存问题
     * */
    Long saveQuestion(QuestionAddRequest questionAddRequest);


    /**
     * 更新资源
     * */
    Long updateQuestion(QuestionUpdateRequest questionUpdateRequest);

    /**
     * 删除问题
     * */
    Boolean deleteQuestion(Long id);
}
